setContentInsetsAbsolute

open fun setContentInsetsAbsolute(contentInsetLeft: Int, contentInsetRight: Int)(source)

Sets the content insets for this toolbar.

The content inset affects the valid area for Toolbar content other than the navigation button and menu. Insets define the minimum margin for these components and can be used to effectively align Toolbar content along well-known gridlines.

Parameters

contentInsetLeft

Content inset for the toolbar's left edge

contentInsetRight

Content inset for the toolbar's right edge

See also